home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.sustworks.com 2018
/
ftp.sustworks.com.zip
/
ftp.sustworks.com
/
IPNetRouterX_1.4.dmg
/
IPNetRouterX folder
/
IPNetRouterX.app
/
Contents
/
Resources
/
named_ipnr
/
named.conf
< prev
Wrap
Text File
|
2009-05-29
|
2KB
|
71 lines
//-----------------------------------------------------------------------------
// named.conf - primary configuration file passed as a command line argument
// to UNIX named (the name server software).
//-----------------------------------------------------------------------------
// A caching only nameserver configuration
// Subnet(s) we wish to allow queries from.
acl "internals" { 192.168.1.1/24; }; #IPNR_internals;
acl "externals" { A.B.C.D/24; }; #IPNR_externals;
options {
directory "/var/named_ipnr";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
allow-query { "internals"; 127.0.0.1/32; 192.168.0.0/16; 10.0.0.0/8; };
listen-on { "internals"; 127.0.0.1; };
};
// Root server hints
zone "." IN {
type hint;
file "named.cache";
};
#IPNR_zone_start;
// Define hosts on our LAN
zone "lan" IN {
type master;
file "lan.zone";
allow-update { none; };
};
// Provide reverse mapping for hosts on our LAN
zone "0.168.192.in-addr.arpa" IN {
type master;
file "lan.rev";
allow-update { none; };
};
#IPNR_zone_end;
// Define localhost
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
// Provide a reverse mapping for the loopback address 127.0.0.1
zone "0.0.127.in-addr.arpa" IN {
type master;
file "localhost.rev";
allow-update { none; };
};
logging {
category default {
_default_log;
};
channel _default_log {
file "/Library/Logs/named.log";
severity info;
print-time yes;
};
};